package com.th.supcom.pds.domain.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * PatientsInfo pojo 患者信息
 * 
 * @author 杨敦
 */
public class PatientInfo implements Serializable
{

    private static final long serialVersionUID = -3190809115106709388L;
    /** 处方来源 */
    private Integer m_prescSource;
    /** 患者ID */
    private String m_patiId;
    /** 患者流水号 */
    private Long m_outpVisitId;
    /** 余额 */
    private Double m_balance;
    /** 身份证 */
    private String m_idCard;
    /** 姓名 */
    private String m_name;
    /** 性别 */
    private String m_sex;
    /** 手机 */
    private String m_phone;
    /** 出生日期 */
    private Date m_birthDate;
    /** 年龄 */
    private String m_age;
    /** 患者就诊次数 */
    private Long m_visitId;
    /** 费别 */
    private String m_chargeType;
    /** 就诊科室代码 */
    private String m_deptCode;
    /** 就诊科室名称 */
    private String m_deptName;
    /** 持卡类型 */
    private String m_cardType;
    /** 卡号 */
    private String m_cardNo;
    /** 磁道信息 */
    private String m_trackData;
    /** 就诊开始日期. */
    private Date m_visitBeginDate;
    /** 就诊结束日期. */
    private Date m_visitEndDate;
    /** 在科天数. */
    private Integer m_visitDay;
    /** 床位号. */
    private String m_bedCode;
    /** 医院代码. */
    private String m_hospitalAreaCode;
    /** 医院代码. */
    private String m_hospitalName;
    

    public String getHospitalAreaCode ()
    {
        return m_hospitalAreaCode;
    }

    public void setHospitalAreaCode (String hospitalAreaCode)
    {
        m_hospitalAreaCode = hospitalAreaCode;
    }

    public String getHospitalName ()
    {
        return m_hospitalName;
    }

    public void setHospitalName (String hospitalName)
    {
        m_hospitalName = hospitalName;
    }

    /**
     * 获取费别
     * 
     * @return
     */
    public String getChargeType ()
    {
        return m_chargeType;
    }

    public Date getVisitBeginDate ()
    {

        return m_visitBeginDate;
    }

    public void setVisitBeginDate (Date visitBeginDate)
    {

        m_visitBeginDate = visitBeginDate;
    }

    public Date getVisitEndDate ()
    {

        return m_visitEndDate;
    }

    public void setVisitEndDate (Date visitEndDate)
    {

        m_visitEndDate = visitEndDate;
    }

    /**
     * 设置费别
     * 
     * @param chargeType
     */
    public void setChargeType (String chargeType)
    {
        m_chargeType = chargeType;
    }

    /**
     * 获取科室代码
     * 
     * @return
     */
    public String getDeptCode ()
    {
        return m_deptCode;
    }

    /**
     * 设置科室代码
     * 
     * @param deptCode
     */
    public void setDeptCode (String deptCode)
    {
        m_deptCode = deptCode;
    }

    /**
     * 获取科室名称
     * 
     * @return
     */
    public String getDeptName ()
    {
        return m_deptName;
    }

    /**
     * 设置科室名称
     * 
     * @param deptName
     */
    public void setDeptName (String deptName)
    {
        m_deptName = deptName;
    }

    /**
     * 获取持卡类型
     * 
     * @return
     */
    public String getCardType ()
    {
        return m_cardType;
    }

    /**
     * 设置持卡类型
     * 
     * @param cardType
     */
    public void setCardType (String cardType)
    {
        m_cardType = cardType;
    }

    /**
     * 获取卡号
     * 
     * @return
     */
    public String getCardNo ()
    {
        return m_cardNo;
    }

    /**
     * 设置卡号
     * 
     * @param cardNo
     */
    public void setCardNo (String cardNo)
    {
        m_cardNo = cardNo;
    }

    /**
     * 获取磁道信息
     * 
     * @return
     */
    public String getTrackData ()
    {
        return m_trackData;
    }

    /**
     * 设置磁道信息
     * 
     * @param trackData
     */
    public void setTrackData (String trackData)
    {
        m_trackData = trackData;
    }

    public String getPatiId ()
    {

        return m_patiId;
    }

    public PatientInfo ()
    {
        super ();
    }

    public void setPatiId (String patiId)
    {

        m_patiId = patiId;
    }

    public Double getBalance ()
    {

        return m_balance;
    }

    public void setBalance (Double balance)
    {

        m_balance = balance;
    }

    public String getIdCard ()
    {

        return m_idCard;
    }

    public void setIdCard (String idCard)
    {

        m_idCard = idCard;
    }

    public String getName ()
    {

        return m_name;
    }

    public void setName (String name)
    {

        m_name = name;
    }

    public String getSex ()
    {

        return m_sex;
    }

    public void setSex (String sex)
    {

        m_sex = sex;
    }

    public String getPhone ()
    {

        return m_phone;
    }

    public void setPhone (String phone)
    {

        m_phone = phone;
    }

    public Date getBirthDate ()
    {
        Date temp = m_birthDate;
        return temp;
    }

    public Long getVisitId ()
    {

        return m_visitId;
    }

    public void setVisitId (Long visitId)
    {

        m_visitId = visitId;
    }

    public Integer getPrescSource ()
    {

        return m_prescSource;
    }

    public Integer getVisitDay ()
    {

        return m_visitDay;
    }

    public String getBedCode ()
    {

        return m_bedCode;
    }

    public void setBedCode (String bedCode)
    {

        m_bedCode = bedCode;
    }

    public void setVisitDay (Integer visitDay)
    {

        m_visitDay = visitDay;
    }

    public String getAge ()
    {

        return m_age;
    }

    public void setAge (String age)
    {

        m_age = age;
    }
    public Long getOutpVisitId ()
    {
    
        return m_outpVisitId;
    }

    public void setOutpVisitId (Long outpVisitId)
    {
    
        m_outpVisitId = outpVisitId;
    }

    public void setPrescSource (Integer prescSource)
    {

        m_prescSource = prescSource;
    }

    public void setBirthDate (Date birthDate)
    {
        if (null != birthDate)
        {
            m_birthDate = new Date (birthDate.getTime ());
        }
    }

    @Override
    public String toString ()
    {
        return "PatientInfo [m_patiId=" + m_patiId + ", m_balance=" + m_balance + ", m_idCard=" + m_idCard + ", m_name=" + m_name + ", m_sex=" + m_sex + ", m_phone=" + m_phone + ", m_birthDate="
               + m_birthDate + ", m_chargeType=" + m_chargeType + ", m_deptCode=" + m_deptCode + ", m_deptName=" + m_deptName + ", m_cardType=" + m_cardType + ", m_cardNo=" + m_cardNo
               + ", m_trackData=" + m_trackData + "]";
    }
}
